﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Models
{
    /// <summary>
    /// 推广位统计
    /// </summary>
    public class ProductEffect
    {
        /// <summary>
        /// 主键，自增长
        /// </summary>
        [XYD.Framework.Key]
        [XYD.Framework.Identity]
        public int Id { get; set; }
        /// <summary>
        /// 推广位每天日期
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 推广位
        /// </summary>
        public string PromotionBit { get; set; }
        /// <summary>
        /// 点击次数
        /// </summary>
        public int ClickNum { get; set; }
        /// <summary>
        /// 订单付款比数
        /// </summary>
        public string PayNum { get; set; }
        /// <summary>
        /// 效果预估
        /// </summary>
        public decimal Estimate { get; set; }
        /// <summary>
        /// 预估收入
        /// </summary>
        public decimal Income { get; set; }
        /// <summary>
        /// 广告位推广类型 1：网站，2微信，3QQ
        /// </summary>
        public string PromotionType { get; set; }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public string LastDate { get; set; }
        /// <summary>
        /// 商家ID
        /// </summary>
       // public string promoter_id { get; set; }
        /// <summary>
        /// 联盟账号ID
        /// </summary>
        public string AlimamaID { get; set; }

        /// <summary>
        /// 代理账号名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 分成比率
        /// </summary>
        public int Rate { get; set; }


        /// <summary>
        /// 上级用户名
        /// </summary>
        public string UserName_i { get; set; }
        /// <summary>
        /// 上上级用户名
        /// </summary>
        public string UserName_ii { get; set; }

        /// <summary>
        /// 上级分成比率
        /// </summary>
        public int Rate_i { get; set; }

        /// <summary>
        /// 上上级分成比率
        /// </summary>
        public int Rate_ii { get; set; }

    }
}
